package com.gskj.eduservice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author :CodingFarmer_码农  Connor(康纳)_郭
 * @date : 10:33 20.5.13
 * @Company : http://www.gskj.com
 * @Version : 1.0
 */

@EnableFeignClients // 设置当前服务为 consumer:客户端，即调用端
@EnableDiscoveryClient // 将服务注册到 nacos中
@SpringBootApplication
@ComponentScan(value = {"com.gskj"}) //设置包扫描
public class EduApplication {

    public static void main(String[] args) {
        SpringApplication.run(EduApplication.class, args);
    }
}
